package com.sp.fresh_produce.model.query;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * 商品列表查询参数
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class ProductListQuery {

    private String keyword;

    private List<Integer> categoryIds;
    
    // 手动添加getter和setter方法
    public String getKeyword() {
        return keyword;
    }
    
    public void setKeyword(String keyword) {
        this.keyword = keyword;
    }
    
    public List<Integer> getCategoryIds() {
        return categoryIds;
    }
    
    public void setCategoryIds(List<Integer> categoryIds) {
        this.categoryIds = categoryIds;
    }
}
